#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);

    int getId() const;
    void setId(int value);

    QString getName() const;
    void setName(const QString &value);

    QString getSex() const;
    void setSex(const QString &value);

    QString getAddr() const;
    void setAddr(const QString &value);

    QString getEmail() const;
    void setEmail(const QString &value);

signals:

public slots:
private:
    int id;
    QString name;
    QString sex;
    QString addr;
    QString email;
};

#endif // STUDENT_H
